﻿<%@ Page Language="C#" MasterPageFile="~/MainMT.master" AutoEventWireup="true" CodeFile="WantMeet.aspx.cs" Inherits="WantMeet" Title="无锡校园人才网-招聘会" %>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
    <link href="css/stujob.css" rel="stylesheet" />
    <link href="css/default.css" rel="stylesheet" />
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="leftmain">
        <div class="leftBox">
            <div class="loginChioce">
                <span class="leftTop" style="margin-left: 17px;">招聘会</span>
            </div>
            <div> 
                <asp:DataList ID="DataList1" runat="server" CellPadding="2" DataKeyField="wmiid" 
                    DataSourceID="SqlDataSource3" HorizontalAlign="Center" RepeatColumns="1">
                    <FooterTemplate>
                        <asp:HyperLink ID="HyperLink5" runat="server" NavigateUrl="~/WantMeet.aspx" ForeColor="Blue">全部招聘会</asp:HyperLink>
                    </FooterTemplate>
                    <ItemTemplate>
                        <asp:HyperLink ID="HyperLink4" runat="server"
                            NavigateUrl='<%# "WantMeet.aspx?city="+Eval("wmiid") %>'
                            Text='<%# Eval("wmititle") %>'></asp:HyperLink>
                    </ItemTemplate>
                    <AlternatingItemStyle BackColor="WhiteSmoke" />
                </asp:DataList>
            </div>
        </div>
        <div class="leftBox">
            <div class="loginChioce">
                <span class="leftTop">会场分类</span>
            </div>
            <div>
                <asp:DataList ID="DataList2" runat="server" CellPadding="2" DataKeyField="wmid"
                    DataSourceID="SqlDataSource2"  HorizontalAlign="Center" RepeatColumns="1" Width="198px">
                    <FooterTemplate>
                        <asp:HyperLink ID="HyperLink7" runat="server" NavigateUrl="~/WantMeet.aspx" ForeColor="Blue">全部招聘会</asp:HyperLink>
                    </FooterTemplate>
                    <ItemTemplate>
                        <asp:HyperLink ID="HyperLink6" runat="server"
                            NavigateUrl='<%# "WantMeet.aspx?bz="+Eval("wmid") %>' Text='<%# Eval("wmname") %>'></asp:HyperLink>
                    </ItemTemplate>
                    <AlternatingItemStyle BackColor="WhiteSmoke" />
                </asp:DataList>
            </div>
            <asp:SqlDataSource ID="SqlDataSource2" runat="server"
                ConnectionString="<%$ ConnectionStrings:DB_CCXYRCConnectionString %>"
                SelectCommand="SELECT * FROM [WantMeetClass]"></asp:SqlDataSource>
        </div>
    </div>

    <div class="rightmain" style="width: 768px;">
        <div class="rightHeader1">
            <div class="rightHLeft"><span class="rightHeaderTitle">当前位置</span></div>
            <div class="rightHMiddle2">
                <span>
                    <a href="Default.aspx" class="moreRight" style="float: left;">首页</a> <span class="jian">></span>
                    <a href="WantMeet.aspx" class="moreRight" style="float: left;">招聘会</a>
                </span>
            </div>
            <div class="rightHRight"></div>
        </div>

        <div id="zpinfo" style="margin-top: 10px;">
            <div>
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="wmiid"
                    DataSourceID="SqlDataSource1" AllowSorting="True" BackColor="White" BorderColor="White"
                    BorderWidth="0" CellPadding="5" EmptyDataText="无" Width="770px" AllowPaging="True"
                    GridLines="Horizontal" PageSize="20">
                    <FooterStyle BackColor="White" ForeColor="#000066" />
                    <RowStyle ForeColor="#000066" BorderColor="White" />
                    <Columns>
                        <asp:TemplateField HeaderText="招聘会名称" SortExpression="wmititle">
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("wmititle") %>'></asp:TextBox>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <asp:LinkButton ID="LinkButton1" runat="server"
                                    Text='<%# Bind("wmititle") %>'
                                    OnClientClick='<%# "window.showModalDialog(\"WantMeetInfo.aspx?wmid="+Eval("wmiid")+"\")" %>'></asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="举办日期" SortExpression="wmidate">
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("wmidate") %>'></asp:TextBox>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <asp:HyperLink ID="HyperLink2" runat="server"
                                    Text='<%# Bind("wmidate", "{0:d}") %>'></asp:HyperLink>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="城市" SortExpression="wmiadd">
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("wmiadd") %>'></asp:TextBox>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <asp:HyperLink ID="HyperLink3" runat="server"
                                    Text='<%# Bind("wmiadd") %>'></asp:HyperLink>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="备注" SortExpression="wmname">
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox4" runat="server" Text='<%# Bind("wmname") %>'></asp:TextBox>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <asp:Label ID="Label4" runat="server" Text='<%# Bind("wmname") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                    <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="WhiteSmoke" />
                </asp:GridView>
                <asp:SqlDataSource ID="SqlDataSource1" runat="server"
                    ConnectionString="<%$ ConnectionStrings:DB_CCXYRCConnectionString %>"
                    SelectCommand="SELECT WantMeetInfo.*, WantMeetClass.wmname FROM WantMeetInfo INNER JOIN WantMeetClass ON WantMeetInfo.wmid = WantMeetClass.wmid"></asp:SqlDataSource>
                <asp:SqlDataSource ID="SqlDataSource3" runat="server"
                    ConnectionString="<%$ ConnectionStrings:DB_CCXYRCConnectionString %>"
                    SelectCommand="SELECT WantMeetInfo.*, WantMeetClass.wmname FROM WantMeetInfo INNER JOIN WantMeetClass ON WantMeetInfo.wmid = WantMeetClass.wmid"></asp:SqlDataSource>
                <asp:Label ID="Label1" runat="server"></asp:Label>
            </div>
        </div>
    </div>
</asp:Content>

